package com.future.mayi.response;


import android.text.TextUtils;

import com.future.baselib.entity.BaseResponse;
import com.google.gson.reflect.TypeToken;
import com.future.mayi.app.App;
import com.future.mayi.model.SearchHotModel;

import org.json.JSONException;

import java.util.List;


public class SearchHotResponse extends BaseResponse {

    public List<SearchHotModel> list;

    @Override
    public void parseInfo(String content) throws JSONException {
        if (!TextUtils.isEmpty(content)) {
            list =  App.getGson().fromJson(content, new TypeToken<List<SearchHotModel>>() {}.getType());
        }
    }
}
